package com.config.entity;

import java.util.List;

/**
 * 树结构模型
 * @author Hexrui
 * @date 2016年5月26日 下午4:18:00
 */
public class TreeModel {
	private int id;
	private String text;
	private String url;
	private String state;
	private String iconCls;
	private List<TreeModel> children;
	private String shifts;//是否有班次	
	@Override
	public String toString() {
		return "TreeModel [id=" + id + ", text=" + text + ", url=" + url
				+ ", state=" + state + ", iconCls=" + iconCls + ", children="
				+ children + "]";
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getIconCls() {
		return iconCls;
	}
	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}
	public List<TreeModel> getChildren() {
		return children;
	}
	public void setChildren(List<TreeModel> children) {
		this.children = children;
	}
	public String getShifts() {
		return shifts;
	}
	public void setShifts(String shifts) {
		this.shifts = shifts;
	}
	
}
